New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/presentation-comlink

Package Overview
Dependencies
Maintainers
70
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/presentation-comlink

> [!WARNING] > This package is not meant to be used directly, it's a shared dependency of `sanity/presentation` and `@sanity/visual-editing`. Using it in production is at your own risk.

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
70
Created
Source

[!WARNING]
This package is not meant to be used directly, it's a shared dependency of sanity/presentation and @sanity/visual-editing. Using it in production is at your own risk.

The sanity/presentation tool requires a way to communicate with the application that lives within its preview iframe. The application is required to load up at least @sanity/visual-editing, but can also load up @sanity/core-loader, @sanity/next-loader, @sanity/svelte-loader, and @sanity/react-loader. It uses @sanity/comlink to communicate over the iframe, and any popup preview windows, over the window.postMessage protocol. The typings for those messages are defined in this package, as well as utils for maintaining compatibility with how older versions of sanity/presentation and @sanity/visual-editing used to format its message payloads, and helpers for handling payloads..

FAQs

Package last updated on 28 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc